@import '~@theforeman/vendor/scss/variables';

$caption_font_weight: 600;
/* stylelint-disable-next-line */
$background_image: linear-gradient(
  to right,
  #005e8c,
  #084c75,
  #0a3a5e,
  #082948,
  #041a33
);

#login-page {
  height: 100%;

  .login-pf {
    background: none;
    background-image: $background_image;

    .login-pf-header {
      margin-bottom: 0 !important; // conflicts with patternfly-sass gem.

      h1 {
        font-weight: 500;
      }
    }

    .login-pf-caption {
      color: white;

      h1 {
        font-weight: $caption_font_weight;
      }
    }

    // patternfly_and_overrides.scss sets all spinners in the app to left.
    .spinner {
      float: none;
    }

    // patternfly_and_overrides.scss adjusts all inputs glyphicons.
    .form-control + .glyphicon {
      position: absolute;
      padding: 0;
      right: 0;
    }
  }
}
